﻿@model PageList<School>
<table class="table table-striped table-bordered table-hover table-fix table-manage">
    <thead>
        <tr>
            @*<th class="w25px">
                <label><input class="checkbox-check" type="checkbox"><span></span></label>
            </th>*@
            <th class="text-center w120px" data-order="@nameof(School.Code)">机构编号</th>
            <th class="text-center w150px" data-order="@nameof(School.Name)">机构名称</th>
            <th class="text-center w150px" data-order="@nameof(School.DepartmentName)">发证机构</th>
            <th class="text-center w120px">所属辖区</th>
            <th class="text-center w100px" data-order="@nameof(School.Xkzh)">许可证号</th>
            <th class="text-center w100px" data-order="@nameof(School.Telephone)">联系电话</th>
            <th class="text-center w50px" data-order="@nameof(School.HFDate)">状态</th>
            <th class="text-center w50px">操作</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var record in Model)
        {
            <tr>
                @*<td>
                    <label><input class="checkbox-check" type="checkbox" value="@record.Id"><span></span></label>
                </td>*@
                <td class="text-center ">
                    <a class="uimodal" data-backdrop="true" data-url="@Url.Action("Details",new {id = record.Id})">
                        @record.Code
                    </a>
                </td>
                <td class="text-center nowrap">@record.Name</td>
                <td class="text-center ">@record.DepartmentName</td>
                <td class="text-center ">@record.Region</td>
                <td class="text-center ">@record.Xkzh</td>
                <td class="text-center ">@record.Telephone</td>
                <td class="text-center ">@Html.BoolLabel(record.IsEnabled)</td>
                <td class="text-center">
                    <a class="color-primary uimodal" data-toggle="tooltip"
                       data-url="@Url.Action("Edit", new {id = record.Id})"
                       title="编辑">
                        <i class="fa fa-lg fa-edit"></i>
                    </a>
                    &nbsp;
                    <a class="color-danger tsdelete" data-toggle="tooltip"
                       data-url="@Url.Action("Delete", new {id = record.Id})"
                       title="删除">
                        <i class="fa fa-lg fa-trash-o"></i>
                    </a>
                </td>
            </tr>
        }
    </tbody>
</table>
@Html.RenderPages(Model)